package com.example.demo;

import org.springframework.stereotype.Component;

@Component
public class controller {
    public static void main(String[] args) {
        User user = new User();
        user.setId(1);
        user.setName("zhangsan");
        System.out.println(user.toString());
    }
}
